﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

public partial class MasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void OsnovniInfomaciiButton_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/OsnovniInfomacii.aspx");
    }
    protected void DokumentacijaButton_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/Dokumentacija/KratokPregled.aspx");
    }
    protected void PrihodiButton_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/Prihodi.aspx");
    }
    protected void TrosociButton_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/Trosoci.aspx");
    }
    protected void FinansiiButton_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/Finansii.aspx");
    }
    protected void KapitalButton_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/Kapital.aspx");
    }
    protected void LoginStatus_LoggedOut(object sender, EventArgs e)
    {
        Session.Abandon();
        FormsAuthentication.SignOut();
        FormsAuthentication.RedirectToLoginPage();
        Response.Redirect("~/Login.aspx");
    }
}